package org.example.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.domain.bean.PageRequest;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RoleQuery", description = "角色查询条件及分页信息")
public class RoleQuery extends PageRequest {

    @ApiModelProperty(value = "角色ID")
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "角色名称")
    private String nameZh;
}
